import controller.WalletController;
import exception.NotEnoughMoneyException;

import java.text.SimpleDateFormat;
import java.util.Date;

public class Main {
    public static void main(String[] args) throws NotEnoughMoneyException {
        WalletController walletController = new WalletController();
        walletController.getBalance(1);
        walletController.getBalance(2);
        walletController.transfer(1,2,30);
        walletController.getBalance(1);
        walletController.getBalance(2);

        walletController.recharge(0, 50);
        walletController.freezeBalance(0, 50);
        walletController.authorizedOverdraft(0,50);
        walletController.transfer(0, 1,60);
        walletController.getBalance(0);
        walletController.getBalance(1);

        walletController.getFlows(0);
        walletController.getFlows(1);
        walletController.getFlows(2);
    }
}
